
public class Point {
	final double x;
	final double y;
	Point(double startX, double startY) {
		this.x = startX;
		this.y = startY;
	}
	Point(Point startPoint) {
		this.x = startPoint.getX();
		this.y = startPoint.getY();
	}
	synchronized double getX() {
		return x;
	}
	synchronized double getY() {
		return y;
	}
}
